package com.ssm.service;

import java.util.List;
import java.util.Map;

import com.ssm.entity.EnterpriseEntity;
import com.ssm.entity.StudentEntity;

public interface EnterpriseService {
    void save(EnterpriseEntity enterprise);  
    boolean update(EnterpriseEntity user);  
    boolean delete(String id);  
    EnterpriseEntity findById(String id);
    EnterpriseEntity findByAccountId(String accountId); 
	List<EnterpriseEntity> findWithPage(Integer page, Integer pageNum,String name, Integer field);
	List<EnterpriseEntity> searchByName(String name);
	List<EnterpriseEntity> searchByField(Integer field);  
}
